tools/python: fix xm list for Python 2.7
authorMichael Young <m.a.young@durham.ac.uk>
Thu, 19 Aug 2010 16:09:30 +0000 (17:09 +0100)
committerMichael Young <m.a.young@durham.ac.uk>
Thu, 19 Aug 2010 16:09:30 +0000 (17:09 +0100)
commit4053efae85cfb872068ab81edbe7df49e0c41ae4
treea85e6fd46c82bd1b3703ad0a38b90fa56ab91cf3
parent90d0bd9ffbbe52504cd311183aeddc90a2962d4f
tools/python: fix xm list for Python 2.7

This patch fixes
  Unexpected error: <type 'exceptions.AttributeError'>
This is due to xmlrpc changes in Python 2.7.  This patch should
fixe it for both old and new versions.

Signed-off-by: Michael Young <m.a.young@durham.ac.uk>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/python/xen/util/xmlrpcclient.py
tools/python/xen/util/xmlrpclib2.py